/**
 * @file HandlerRegister.hpp
 * @author Derek Liu (yjkhtddx@sina.com)
 * @brief 注册事件处理器
 * @version 0.0.1
 * @date 2020-07-17
 * 
 * @coryright Copyright Sci-Tech Laboratories (c) 2020
 * 
 */

#include "GBMgr/defs.hpp"
#include "HandlerBase.hpp"

class HandlerRegister : public HandlerBase
{
public:
    HandlerRegister();
    ~HandlerRegister() final = default;

public:
    int HandleRegisterRequest(const sip_event_sptr &e);
private:
    int sendWWWAuthenticateResponse(const char *uname, struct eXosip_t *excontext, int tid, int status);
};